﻿/*-----------------------------------------------
// File: ResourceLoader 
// Description: 资源加载卸载的接口，单例，包含了针对各种类型资源的Loader 
// Author: Shaobing	492057342@qq.com
-----------------------------------------------*/
using UnityEngine;
using System.Collections;
using AssetLoad;

public delegate void LoadComplete(object asset);
public delegate void LoadCompleteNotify();
public class ResourceLoader
{

    #region Singlton
    private static ResourceLoader instance = null;
    public static ResourceLoader GetInstance()
    {
        if (instance == null)
        {
            instance = new ResourceLoader();
        }
        return instance;
    }
    private ResourceLoader() { }
    #endregion
    public ModelLoader modelLoader = new ModelLoader();
    public UltiLoader ultiLoader = new UltiLoader();
    public WeaponLoader weaponLoader = new WeaponLoader();
    public Story3dLoader story3dLoader = new Story3dLoader();
    public AudioLoader audioLoader = new AudioLoader();
    public TextureLoader textureLoader = new TextureLoader();
    public AtlasLoader atlasLoader = new AtlasLoader();
}
